home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
flilib
/
flisrc
/
jexists.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-16
|
204b
|
18 lines
#include "jlib.h"
/* Does file exist? */
Boolean dos_exists (title)
char *title;
{
int f;
if ((f = dos_open (title, DOS_READ_ONLY))!=0)
{
dos_close (f);
return(1);
}
return(0);
}